-
Notifications
You must be signed in to change notification settings - Fork 290
feat: Push to any remote branch #981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e9c41f2 to
039e38e
Compare
|
Instead, I recommend creating the corresponding branch locally first, and then pushing it directly. For example: use a workflow tool such as Imagine a situation where you have a |
|
If after I pushed If after pushing But a new feature is not my use case. The use case here is mostly one-line bug fixes. something I need to investigate on the |
|
There are more use cases for the ability to push to any branch I chose. |
Why not merge/reset/rebase the |
|
Well, I am not saying it is not possible. I would like flexibility so that different people with different workflows have a good experience. This change gives that flexibility without taking out something else. On a side note, Is there a discord or some form of chat for this project? |
|
i'm in favor with the love-linger here. |
When working on a branch, You either push a branch to the remote(which might exist or not) with the same name or a new branch completely.
I don't think there are situations where you push to an existing remote branch that is different from the one you are on currently.
This solution gives the flexibility to push to any branch you want.
My usecase:
I develop on "develop" branch, than push to "feature" branch.
This is useful when dealing with bugs or small things.
before:

after:

and with new branch:
before:

after:
